﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<CourseSystem.Core.Entities.StudentNoteInfo>" %>
<% using (Ajax.BeginForm("NoteEditUc", new { Model.Id }, new AjaxOptions { HttpMethod = "Post", UpdateTargetId = "editDiv", }))
   {%>
<% Html.RenderPartial("HighLightMsgUc"); %>
<fieldset>
    <div class="editor-label">
        <%: Html.LabelFor(model => model.NoteContent) %>
    </div>
    <div class="editor-field">
        <%: Html.TextAreaFor(model => model.NoteContent, new { @class = "editArea" }) %>
        <%: Html.ValidationMessageFor(model => model.NoteContent) %>
    </div>
    <p>
        <input type="submit" value="保存" />
    </p>
</fieldset>
<% } %>
